<%--
  Created by IntelliJ IDEA.
  User: zer
  Date: 2019/10/5
  Time: 17:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=0.58,maximum-scale=1.0, user-scalable=no">

    <link rel="stylesheet" href="css/bootstrap-responsive.min.css"/>
    <link rel="stylesheet" href="css/bootstrap.css"/>
    <link rel="stylesheet" href="css/style.css"/>
    <link rel="stylesheet" href="css/ySelect.css">
    <link rel="stylesheet" type="text/css"
          href="http://cdn.bootcss.com/font-awesome/4.6.0/css/font-awesome.min.css">

    <script type="text/javascript" src="js/jquery-2.1.0.js"></script>
    <script type="text/javascript" src="js/bootstrap.js"></script>
    <script rel="script" src="js/ySelect.js"></script>

    <title>解析结果页面</title>
    <style type="text/css">
        body {
            background: url(img/背景.png) repeat 0 0;
            height: 100%;
        }
    </style>
</head>
<body>
<div>
    <div class="container banxin2">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="header"
                 style="margin-left: -175px">
                <img src="img/logo.png" style="margin-top: -40px;"/>
            </div>
        </div>
        <a href="javascript:void(0);">
            <img src="img/back.png" style="width: 20px; height: 15px;"/>
            返回上一步</a>
        <div id="root" style="height: 320px">

            <div>
                <h3 style="color: #1c7430" id="agency">解析到以下数据，请选择您需要的：</h3>
                <br/>
            </div>
        </div>
    </div>
</div>
</body>

<script>

    $(function () {

        //存在表格
        if (${table!=null}) {
            // $("#agency").after("<h3>测试的文字</h3>");
            $("#agency").after('<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4" id="table">\n' +
                '                    <div id="internet table1">\n' +
                '                        <a class="button"\n' +
                '                           href="${pageContext.request.contextPath}/ResultDisposeAction_table"\n' +
                '                           style="color: #FFFFFF;">\n' +
                '                            <img src="img/表格1.png"/>\n' +
                '                        </a>\n' +
                '                        <br/>\n' +
                '                        <a class="button" href="javascript:void(0);"\n' +
                '                           style="color: #FFFFFF;">\n' +
                '                            <span>表格模块</span>\n' +
                '                        </a>\n' +
                '                    </div>\n' +
                '                </div>');
            // document.getElementById('table').style.display = "none"
        }

        //存在文字
        if (${paragraph!=null}) {
            $("#agency").after('<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4" id="paragraph">\n' +
                '                    <div id="local write1">\n' +
                '                        <a class="button"\n' +
                '                           href="${pageContext.request.contextPath}/ResultDisposeAction_paragraph"\n' +
                '                           style="color: #FFFFFF;">\n' +
                '                            <img src="img/文字1.png"/>\n' +
                '                        </a>\n' +
                '                        <br/>\n' +
                '                        <a class="button" href="JavaScript:void(0);"\n' +
                '                           style="color: #FFFFFF;">\n' +
                '                            <span>文本模块</span>\n' +
                '                        </a>\n' +
                '                    </div>\n' +
                '                </div>');
            // document.getElementById('paragraph').style.display = "none"
        }

    });

</script>

</html>
